package com.example.toolsdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author danyubin
 */
@SpringBootApplication
// 扫描所有包以及相关组件包
@ComponentScan(basePackages = {"com.example", "org.n3r.idworker"})
@MapperScan(basePackages = "com.example.toolsdemo.mapper")
public class ToolsdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ToolsdemoApplication.class, args);
    }

}
